package collection;

import java.util.Vector;

public class VectorCapacityMain {
	
	public static void main(String[] args) {
		
		Vector v = new Vector();
		
		System.out.println("최초 용량: " + v.capacity());
		
		for (int i = 0; i < 1024; i++) {
			v.add(new Integer(i));
			System.out.println("capacity: " + v.capacity() +
					", size: " + v.size());
		}
		
	}
	
}
